package demo.supplier.pojo;

public class Goods {

	private Long uuid;
	private String name;
	private String origin;
	private String producer;
	private String unit;
	private double inPrice;
	private double outPrice;
	private Long goodsTypeUuid;
	private int useNum;
	private int minNum;
	private int maxNum;
	private GoodsType goodsType;
	public Long getUuid() {
		return uuid;
	}
	public void setUuid(Long uuid) {
		this.uuid = uuid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getOrigin() {
		return origin;
	}
	public void setOrigin(String origin) {
		this.origin = origin;
	}
	public String getProducer() {
		return producer;
	}
	public void setProducer(String producer) {
		this.producer = producer;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public double getInPrice() {
		return inPrice;
	}
	public void setInPrice(double inPrice) {
		this.inPrice = inPrice;
	}
	public double getOutPrice() {
		return outPrice;
	}
	public void setOutPrice(double outPrice) {
		this.outPrice = outPrice;
	}
	public Long getGoodsTypeUuid() {
		return goodsTypeUuid;
	}
	public void setGoodsTypeUuid(Long goodsTypeUuid) {
		this.goodsTypeUuid = goodsTypeUuid;
	}
	public int getUseNum() {
		return useNum;
	}
	public void setUseNum(int useNum) {
		this.useNum = useNum;
	}
	public int getMinNum() {
		return minNum;
	}
	public void setMinNum(int minNum) {
		this.minNum = minNum;
	}
	public int getMaxNum() {
		return maxNum;
	}
	public void setMaxNum(int maxNum) {
		this.maxNum = maxNum;
	}
	public GoodsType getGoodsType() {
		return goodsType;
	}
	public void setGoodsType(GoodsType goodsType) {
		this.goodsType = goodsType;
	}
	public Goods(Long uuid, String name, String origin, String producer, String unit, double inPrice, double outPrice,
			Long goodsTypeUuid, int useNum, int minNum, int maxNum, GoodsType goodsType) {
		super();
		this.uuid = uuid;
		this.name = name;
		this.origin = origin;
		this.producer = producer;
		this.unit = unit;
		this.inPrice = inPrice;
		this.outPrice = outPrice;
		this.goodsTypeUuid = goodsTypeUuid;
		this.useNum = useNum;
		this.minNum = minNum;
		this.maxNum = maxNum;
		this.goodsType = goodsType;
	}
	public Goods() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Goods [uuid=" + uuid + ", name=" + name + ", origin=" + origin + ", producer=" + producer + ", unit="
				+ unit + ", inPrice=" + inPrice + ", outPrice=" + outPrice + ", goodsTypeUuid=" + goodsTypeUuid
				+ ", useNum=" + useNum + ", minNum=" + minNum + ", maxNum=" + maxNum + ", goodsType=" + goodsType
				+ ", getUuid()=" + getUuid() + ", getName()=" + getName() + ", getOrigin()=" + getOrigin()
				+ ", getProducer()=" + getProducer() + ", getUnit()=" + getUnit() + ", getInPrice()=" + getInPrice()
				+ ", getOutPrice()=" + getOutPrice() + ", getGoodsTypeUuid()=" + getGoodsTypeUuid() + ", getUseNum()="
				+ getUseNum() + ", getMinNum()=" + getMinNum() + ", getMaxNum()=" + getMaxNum() + ", getGoodsType()="
				+ getGoodsType() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	}
	
	
}
